package com.cmc.cloud.cmclink.doc.vo.limitrulevo;

import com.cmc.cloud.cmclink.doc.vo.limitattatchitemvo.LimitAttatchItemBaseVO;
import com.cmc.cloud.cmclink.doc.vo.limitconfirmitemvo.LimitConfirmItemBaseVO;
import com.cmc.cloud.cmclink.doc.vo.limitruleitemvo.LimitRuleItemRespVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.util.Date;
import java.util.List;

/**
 * {table.classComment}Response VO
 * 
 * @author codegen
 */
@Schema(description = "管理后台 - 禁接规则 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
public class LimitRuleRespVO extends LimitRuleBaseVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "26281")
    private Long id;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDate createTime;

    @Schema(description = "操作时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    @Schema(description = "操作人", requiredMode = Schema.RequiredMode.REQUIRED)
    private String updater;
    @Schema(description = "规则明细")
    private LimitRuleItemRespVO ruleItem;
    @Schema(description = "补充材料明细")
    private List<LimitAttatchItemBaseVO> attatchItemList;
    @Schema(description = "确认项")
    private List<LimitConfirmItemBaseVO> confirmItemList;

}
